{include file="header.tpl" title="Bao tri chi nhanh"}

<form name ="tongquat" action="" method="post" target="_self">

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="15%">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>

  <tr>
    <td>{$lbl_soCN}</td>
    <td colspan="3" style="color:#FF0000"><input name="BRNCODE" id="BRNCODE" type="text" style="background:{$colorsoCN}" value="{$BRNCODE}" size="20" maxlength="3" {if $activefield eq 'enabled'}readonly{/if} onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);"/>
      *
	  <input id="replacement_find" type="submit" name="find" value="    "  height="15" {if $activefield eq 'enabled' }disabled="disabled" {/if}/>     </td>
  </tr>
  <tr>
    <td>{$lbl_tenCN_ENG}</td>
    <td colspan="3" style="color:#FF0000"><input name="BRNNAME" type="text"  style="background:{$colortenCN_eng}" value="{$BRNNAME}" size="50" maxlength="200"/>
      *</td>
  </tr>
  <tr>
    <td>{$lbl_tenCN_VN}</td>
    <td colspan="3" style="color:#FF0000"><input name="BRNNAMEVN" type="text"  style="background:{$colortenCN_vn}" value="{$BRNNAMEVN}" size="50" maxlength="200"/>
      *</td>
  </tr>
  <tr>
    <td>{$lbl_diachi}</td>
    <td colspan="3" style="color:#FF0000"><input name="ADDRESS" type="text"  style="background:{$colordiachi}" value="{$ADDRESS}" size="50" maxlength="50"/>
    *</td>
  </tr>
  <tr>
    <td>{$lbl_MANAGER_CODE}</td>
    <td style="color:#FF0000" nowrap="nowrap" colspan="3"><input name="MANAGER_CODE" id="MANAGER_CODE" type="text" style="background:{$colorMANAGER_CODE}" value="{$MANAGER_CODE}" size="20" maxlength="10" />
*
  
  <input type="button" onclick="mywindow = window.open('master_id.php?name=MANAGER_CODE-MANAGER_NAME', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findlaisuat2" id="replacement_binoculars" value="     " />
  <input name="MANAGER_NAME" id="MANAGER_NAME" type="text" style="background:{$colorMANAGER_NAME}" value="{$MANAGER_NAME}" size="31" maxlength="50" readonly="readonly" /></td>
  </tr>
  <tr>
    <td>{$lbl_dienthoai}</td>
    <td style="color:#FF0000" nowrap="nowrap" colspan="3"><input name="PHONE" type="text" style="background:{$colordienthoai}" value="{$PHONE}" size="20" maxlength="50" />
    *</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_masothue} </td>
    <td style="color:#FF0000" nowrap="nowrap" colspan="3"><input type="text" name="TAXCODE" size="20" maxlength="15" value="{$TAXCODE}" style="background:{$colormasothue}" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);"/>
*</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_BRNCENTER} </td>
    <td style="color:#FF0000" nowrap="nowrap" colspan="3"><input name="BRNCENTER" id="BRNCENTER" type="text" style="background:{$colorBRNCENTER}" value="{$BRNCENTER}" size="20" maxlength="3" onkeypress="return numberOnly(event);"/>
*
      <input type="button" onclick="mywindow = window.open('branchcode_id.php?name=BRNCENTER', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findchinhanh" id="replacement_binoculars" value="     " /></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_BRNHEAD} </td>
    <td style="color:#FF0000" nowrap="nowrap" colspan="3"><input name="BRNHEAD" id="BRNHEAD" type="text" style="background:{$colorBRNHEAD}" value="{$BRNHEAD}" size="20" maxlength="3" onkeypress="return numberOnly(event);"/>
*
      <input type="button" onclick="mywindow = window.open('branchcode_id.php?name=BRNHEAD', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findchinhanh2" id="replacement_binoculars" value="     "  /></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_ENABLE} </td>
    <td style="color:#FF0000" nowrap="nowrap" colspan="3"><input type="checkbox" {if $ENABLE eq 'Y'} checked="checked"{/if} name="ENABLE" value="{$ENABLE}" id="ENABLE" /></td>
  </tr>
  <tr>
  <td nowrap="nowrap" width="15%">{$lbl_ZONEID}</td>
    <td style="color:#FF0000" nowrap="nowrap" colspan="3"><select name="ZONEID" id="ZONEID" size="1" style="background:{$colorZONEID}">                     
      {foreach from=$cbo_ZONEID key=k item=v}          
      <option value="{$k}" {if $k eq $ZONEID} selected="selected" {/if} >{$k} - {$v}</option>
	  {/foreach}    
    </select>
*</td>
  </tr>
<tr>
<td colspan="4">
  <input type="hidden" name="BRNACCT" id="BRNACCT" value="{$BRNACCT}"/>
  <input type="hidden" name="HOACCT" id="HOACCT" value="{$HOACCT}" />
<p>&nbsp;</p>
<p>&nbsp;</p></td>
</tr>
<tr>
<td colspan="4" align="right" nowrap="nowrap">
    <input type="button" name="cancle" id="cancle" value="{$ten_cancle}" class="button_style" onclick="activeform(this.form,'BRNCODE');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
    <input type="submit" name="capnhat" value="{$ten_cap_nhat}" {if $activefield eq 'disabled' }disabled="disabled" {/if} class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" />
	<input type="submit" name="next" id="next" value="{$ten_next}" class="button_style"  onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" {if $activefield eq 'disabled' }disabled="disabled" {/if} />	</td>
  </tr>
<tr>
<td colspan="4" align="left"><input name="addnew" type="submit" value="{$ten_themmoi}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
<input name="detail" type="submit" value="{$ten_chitiet}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" /></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>

<tr>
<td>
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3"> 
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
</tr>
</table>
</form>
{$javascriptsetstyle}
{include file="footer.tpl"}
